import request from '@/utils/request'
import { Result, DeepRequired } from '../../interface'

/**
 * 通过简历id查找简历
 * /sys/resume/findByResumeId/{id}
 */
export function getSysResumeFindByResumeIdById(
  params: GetSysResumeFindByResumeIdByIdParams,
) {
  return request.get<DeepRequired<Result>>(
    `/sys/resume/findByResumeId/${params.id}`,
  )
}

interface GetSysResumeFindByResumeIdByIdParams {
  id: number
}
